package com.phiyon.mytry.other;

import android.content.ContentResolver;
import android.content.ContentValues;
import android.net.Uri;
import android.test.AndroidTestCase;

public class AccessContentProvider extends AndroidTestCase {
	
	public void testInsert() throws Exception{
		Uri uri = Uri.parse("content://com.phiyon.mytry.providers.personprovider/person");
		ContentResolver resolver = this.getContext().getContentResolver();
		ContentValues values = new ContentValues();
		values.put("name", "chenjianping");
		values.put("phone", "15889749678");
		values.put("amount", "888888888");
		resolver.insert(uri, values);
	}

}
